//
//  LYDPopoverView.h
//  20150904仿popView
//
//  Created by yons on 15-9-4.
//  Copyright (c) 2015年 iron. All rights reserved.
//

#import <UIKit/UIKit.h>

@class FilterView;
@protocol FilterViewDelegate <NSObject>
@optional
- (void)FilterView:(FilterView *)filterView didSelectRowInTable:(NSInteger)row;

-(void)confirmFilter:(NSMutableArray *)searchBeansArray;
-(void)cancelPop;
@end

@interface FilterView : UIView
@property(nonatomic,strong)NSString *typeStr;
@property(nonatomic,strong)NSMutableArray *selectedSearchBeansArray;
@property (nonatomic, weak) id<FilterViewDelegate> delegate;
//必须用该方法来返回对象
+ (instancetype)FilterViewWithSize:(CGSize)size;
//用该方法来让控件出现在屏幕上
- (void)show;

@end
